package com.ld.security.server.blog.modules.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.base.entity.EToUserEntity;
import com.ld.security.common.mybatis.base.entity.MsgEntity;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("cms_comment")
@ApiModel("评论")
@Data
public class CmsCommentEntity  extends MsgEntity implements EToUserEntity
{




    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("内容编号")
    private String contentId;


    @SqlKey(SqlCondition.like)
    @ApiModelProperty("内容")
    private String content;

    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("目标用户")
    private String toUser;

    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("目标用户名")
    private String toUserName;

    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("目标用户logo")
    private String toUserLogo;




        }
